import React from 'react';
import { Button, Drawer } from 'antd';
import { useProjectModal } from './util';

const ProjectModal = () => {
  const { projectModalOpen, close } = useProjectModal();
  return (
    <Drawer onClose={close} open={projectModalOpen} width={'100%'}>
      <Button onClick={close}>关闭</Button>
    </Drawer>
  );
};

export default ProjectModal;
